package cn.zhiran.loginInfo.service.impl;

import cn.zhiran.basic.service.impl.BaseServiceImpl;
import cn.zhiran.user.domain.LoginInfo;
import cn.zhiran.user.mapper.LoginInfoMapper;
import cn.zhiran.user.service.ILoginInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service

public class LoginInfoServiceImpl extends BaseServiceImpl<LoginInfo> implements ILoginInfoService {
    @Autowired
    private LoginInfoMapper loginInfoMapper;



    @Transactional
    @Override
    public void update(LoginInfo loginInfo) {
        loginInfoMapper.update(loginInfo);
    }

    @Transactional
    @Override
    public void insert(LoginInfo loginInfo) {

        loginInfoMapper.insert(loginInfo);
    }




}
